import {http} from '../utils/http'
import type {PurchaseDemand } from '../types/PurchaseDemand'
//查询相关所有采购需求
export const selectBusinessId=()=>{
  return http<PurchaseDemand[]>({
    method: 'GET',
    url: `/eduservice/purchaseDemand/selectBusinessId`,
  })
}
//修改求购状态
export const updateStatus=(id:any)=>{
  return http({
    method: 'GET',
    url: `/eduservice/purchaseDemand/updateStatus/${id}`,
  })
}